]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
searchDisplay: Make renderResults private
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 14 Feb 2013 19:35:01 +0000 (14:35 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 29 May 2013 15:32:49 +0000 (11:32 -0400)
There's no need to call this from outside now.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

js/ui/searchDisplay.js

index 8f8ccd49b5b1958ab0bd9b0aa319f79296f1b8dd..d7831a40356ad729361e7c4b307875e2b6cf43b7 100644 (file)
@@ -226,7 +226,7 @@ const SearchResultsBase = new Lang.Class({
                 // content while filling in the results.
                 this.actor.hide();
 
-                this.renderResults(metas);
+                this._renderResults(metas);
 
                 this._setMoreIconVisible(this.hasMoreResults() && this.provider.canLaunchSearch);
 
@@ -279,7 +279,7 @@ const ListSearchResults = new Lang.Class({
         return this._content.get_n_children();
     },
 
-    renderResults: function(metas) {
+    _renderResults: function(metas) {
         for (let i = 0; i < metas.length; i++) {
             let display = new ListSearchResult(this.provider, metas[i], this._terms);
             display.actor.connect('key-focus-in', Lang.bind(this, this._keyFocusIn));
@@ -324,7 +324,7 @@ const GridSearchResults = new Lang.Class({
         return this._grid.visibleItemsCount();
     },
 
-    renderResults: function(metas) {
+    _renderResults: function(metas) {
         for (let i = 0; i < metas.length; i++) {
             let display = new GridSearchResult(this.provider, metas[i], this._terms);
             display.actor.connect('key-focus-in', Lang.bind(this, this._keyFocusIn));